package wh.javaben;

public class Student implements Comparable<Student>{
	
	private String id;
	private String name;
	private String gender;
	private String college;
	private int score;
	
	
	public Student() {
		
	}
	
	public Student(String id,String name,String gender,String college,int score) {
		this.id=id;
		this.name=name;
		this.gender=gender;
		this.college=college;
		this.score=score;
		
	}
	
	

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getGender() {
		return gender;
	}

	public void setGender(String gender) {
		this.gender = gender;
	}

	public String getCollege() {
		return college;
	}

	public void setCollege(String college) {
		this.college = college;
	}

	public int getScore() {
		return score;
	}

	public void setScore(int score) {
		this.score = score;
	}
	
	public void showStudent() {
		System.out.println(this.name+" "+this.id+" "+this.college);
	}

	@Override
	public int compareTo(Student o) {
		// TODO Auto-generated method stub
		return 0;
	}
	
}